PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.shadings Package / PDFRadialShading Class / setDomain Method
An array of two numbers [t0 t1] specifying the limiting values of a parametric variable t.
In This Topic
    setDomain Method
    In This Topic
    Sets the shading domain.
    The variable is considered to vary linearly between these two values as the color gradient varies between the starting and ending circles. The variable t becomes the input argument to the shading function.
    Syntax
    public void setDomain( 
       double[] value
    )

    Parameters

    value
    An array of two numbers [t0 t1] specifying the limiting values of a parametric variable t.
    Exceptions
    ExceptionDescription
    When the domain does not have 2 elements.
    See Also